What are the three types of singularity